package org.springblade.tms.module.sap.dto;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.RequiredArgsConstructor;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;

/**
 * @projectName: BladeX
 * @package: org.springblade.tms.module.sap.dto
 * @className: SapEnquiryPartnerVo
 * @author: yr
 * @description: 询价单承运商入参
 * @date: 2022/5/11 11:11
 */
@Data
@Validated
@Builder
public class SapEnquiryPartnerVo {
	/**
	 * 承运商ID
	 */
	@NotBlank
	@ApiModelProperty(value = "承运商ID")
	@JSONField(name = "buPartner")
	private String buPartner;
	/**
	 * 承运商名称
	 */
	@ApiModelProperty(value = "承运商名称")
	@JSONField(name = "partyName")
	private String partyName;
}
